package com.itheima.neibulei;

public interface Entry {
    void method();
    void show();
}
class A implements Entry{

    @Override
    public void method() {

    }

    @Override
    public void show() {

    }

    public void swim() {
        System.out.println("接口多态,匿名内部类show方法.....");
    }
}
class T5{
    public static void main(String[] args) {
        A a=new A();
        a.swim();
    }
}